//
//  EasyToTescoController.m
//  EasyToTesco2.0
//
//  Created by 杨森 on 16/9/18.
//  Copyright © 2016年 EasyToTesco. All rights reserved.
//

#import "EasyToTescoController.h"

@interface EasyToTescoController ()

@end

@implementation EasyToTescoController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.title = @"可为建材联盟";
    self.view.backgroundColor = [UIColor whiteColor];
    self.edgesForExtendedLayout = UIRectEdgeNone;
    UILabel *lbl = [[UILabel alloc] initWithFrame:CGRectMake(10,20,100,20)];
    [self.view addSubview:lbl];
    lbl.text = @"可为建材联盟简介";
    lbl.font = FONT(13);
    lbl.font = [UIFont boldSystemFontOfSize:14];
    
    NSString *Str = @"湖南可为商业运营管理有限公司（简称湖南可为）公司成立于2017年，注册资本壹仟万，坐落于湖南省长沙市开福区万达商业广场，是一家基于互联网思维以建材销售为核心以线上口碑商家推广联合线下实体店促进消费的建材oto商城。公司拥有雄厚的资金、高水平的运营团队，成立之初致力公司致力于建立国内最专业、最权威、最规范的建材oto商城。公司核心价值观是深植于我们内心深处的核心信念，是湖南可为公司发展的内在动力，是我们面向未来的共同承诺。为顾客、员工和商业伙伴创造前所未有的价值和机会，构建专业高效、开放安全、公平公正的建材oto平台。";
    UILabel *detailLbl = [[UILabel alloc] initWithFrame:CGRectMake(10,50,WIDTH-20,200)];
    ;
    detailLbl.font = FONT(14);
    detailLbl.numberOfLines = 0;
    
    NSMutableAttributedString * attributedString1 = [[NSMutableAttributedString alloc] initWithString:Str];
    NSMutableParagraphStyle * paragraphStyle1 = [[NSMutableParagraphStyle alloc] init];
    [paragraphStyle1 setLineSpacing:5];
    [attributedString1 addAttribute:NSParagraphStyleAttributeName value:paragraphStyle1 range:NSMakeRange(0, [Str length])];
    [detailLbl setAttributedText:attributedString1];
    [detailLbl sizeToFit];
    [self.view addSubview:detailLbl];
    
}

- (void)getEasyToTescoDetail
{
    
}

@end
